package postfactoryprocessor;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class TestProcessor {

    public static void main(String[] args) {
        ApplicationContext context = new ClassPathXmlApplicationContext("classpath:post_factory_processor.xml");
        Welcomer welcomer = (Welcomer) context.getBean("welcomerBean");
        System.out.println(welcomer.getWelcomeText());
    }
}
